<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{.title}} - 我的博客</title>
    <link rel="stylesheet" href="/static/css/common.css">
    <link rel="stylesheet" href="/static/css/adminHome.css">
</head>
<body>
    <header>
        <nav>
            <div class="container">
                <a href="/" class="logo">我的博客</a>
                <ul class="nav-menu">
                    <li><a href="/">首页</a></li>
                    <li><a href="/archive">归档</a></li>
                    <li><a href="/about">关于</a></li>
                    <li><a href="/admin/login">管理</a></li>
                </ul>
            </div>
        </nav>
    </header>

    <main>
        <div class="container">
            {{block "content" .}}{{end}}
        </div>
    </main>

    <footer>
        <div class="container">
            <p>&copy; 2024 我的博客. All rights reserved.</p>
        </div>
    </footer>

    <script src="/static/js/jquery.min.js"></script>
    <script src="/static/js/common.js"></script>
</body>
</html> 